<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>查询课程</title>
    <link rel="stylesheet" href="../css/searchSubject.css">
</head>

<body>
    <h2>查询课程</h2>
    <div class="search">
        <span>课程名称(模糊查询):</span>
        <input type="search" id="searchText">
        <button id="searchBtn">查询</button>
    </div>
    <table>
        <thead>
            <tr>
                <th>课程编号</th>
                <th>课程名称</th>
                <th>课时</th>
                <th>年级编号</th>
                <th>年级名称</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id="tbody">

        </tbody>
        <tfoot>
            <td colspan="6">
                <button id="first">首页</button>
                <button id="prev">上一页</button>
                <span id="pageIndex">1</span>
                <span>/</span>
                <span id="totalPage">1</span>
                <button id="next">下一页</button>
                <button id="last">尾页</button>
            </td>
        </tfoot>
    </table>

    <div class="modify_box">
        <table>
            <thead>
                <tr>
                    <th colspan="2">修改课程</th>
                </tr>
            </thead>
            <tbody id="modify_tbody">
                <tr>
                    <td>课程编号</td>
                    <td>
                        <input type="text" id="subjectId_modify" value="" readonly>
                    </td>
                </tr>
                <tr>
                    <td>课程名称</td>
                    <td>
                        <input type="text" id="subjectName_modify"value="">
                    </td>
                </tr>
                <tr>
                    <td>课时</td>
                    <td>
                        <input type="text" id="classHour_modify"value="">
                    </td>
                </tr>
                <tr>
                    <td>年级编号</td>
                    <td>
                        <input type="text" id="gradeId_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <button id="modify_subject_submit">修改</button>
                        <button id="modify_subject_cancel">取消</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <!-- 根据学号查询指定学生信息 -->
    <div class="searchByID_box">
        <span>课程编号查询:</span>
        <input type="search" id="searchTextByID">
        <button id="searchByIDBtn">查询</button>
    </div>
    <table>
        <thead>
            <tr>
                <th>课程编号</th>
                <th>课程名称</th>
                <th>课时</th>
                <th>年级编号</th>
                <th>年级名称</th>
            </tr>
        </thead>
        <tbody id="searchByID_tbody">

        </tbody>
        <script src="../js/searchSubject.js"></script>
</body>

</html>